package com.ant.collect.mapper;

import com.ant.collect.dto.CensusDto;
import com.ant.collect.pojo.Environmental;
import com.ant.collect.vo.CensusVo;
import com.ant.collect.vo.EnvironmentalVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hzd
 * @since 2025-10-23
 */
public interface EnvironmentalMapper extends BaseMapper<Environmental> {

    List<EnvironmentalVo> selectLists();

    List<CensusVo>  selectCensus();

    List<CensusVo> selectCompanyCensus(CensusDto dto);

    List<Integer> selectCollectionYearByList(@Param("ids") List<Integer> ids);
}
